package handax.entities;

/**
 *
 * @author Andreas Apostolidis
 */
public class User {

    //Column name = "USERNAME"
    private String username;
    //Column name = "PASSWORD"
    private String password;
    //Column name = "ISADMIN"
    private Integer isadmin;

//Constructors
    public User() {
    }

    public User(String username) {
        this.username = username;
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
//Setters and Getters

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Integer isadmin) {
        this.isadmin = isadmin;
    }
}
